package com.ncepu_ideal.maven_testng.utils;

import java.util.Random;

/**
 * @description:
 * @author: chuck
 * @time: 2023/4/13 16:40
 */
public class RandomIdGenerator {
    public static String generateId() {
        long timestamp = System.currentTimeMillis();
        Random random = new Random(timestamp);
        int randomInt = random.nextInt(1000000000);
        return String.format("%012d", randomInt);
    }
}